Build and Release Engineer Interview Questions And Answers

Ratings:
(4)
Views: 0
Banner-Img
Share this blog:

Build And Release Engineer Interview Questions

What is a transitive dependency? Can we override Transitive Dependency version and If Yes, how?

Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects.

Yes, we can override transitive dependency version by specifying the dependency in the current POM.

What is the use of !! command? Can I use it with conjunction to some other string to complete a command? 

It’s used to execute last command. Yes, this can be used with other string to execute new command. For eg - if ls was the last command, we can execute !! -l for having the long listing.

Which version control (VC) or software configuration management (SCM) systems work with Merge?

You can use Tortoise SVN,which has Merge Utility embedded in it.

What factors influence the opening of a feature branch?

Typically, feature branches are created in cases where the new feature or enhancement has broad-sweeping changes to the code base such that introducing them in the trunk may be too disruptive. Also, feature branches may be used for prototyping or proof-of-concept for code that may never end up in trunk.

What is the best practice configuration usage for files - pom.xml or settings.xml?

The best practice guideline between settings.xml and pom.xml is that configurations in settings.xml must be specific to the current user and that pom.xml configurations are specific to the project.

How can I change the default location of the generated jar when I command "mvn package"?

By default, the location of the generated jar is in ${project.build.directory} or in your target directory. We can change this by configuring the outputDirectory of maven-jar-plugin.

What is Maven's order of inheritance?

  • Parent pom
  • Project pom
  • Settings
  • CLI parameters

How do I determine which POM contains missing transitive dependency?

run mvn -X

What is the difference between compile and install?

Compile compiles the source code of the project

whereas

Install installs the package into the local repository, for use as a dependency in other projects locally

What is the use of !! command? Can I use it with conjunction to some other string to complete a command? 

It’s used to execute last command. Yes, this can be used with other string to execute new command. For example - if ls was the last command, we can execute !! -l for having the long listing.

Want to acquire industry skills and gain complete knowledge of Build and Release? Enroll in Instructor-Led live Build and Release Training to become Job Ready!

Release Management Interview Questions

Which version control (VC) or software configuration management (SCM) systems work with Merge?

You can use Tortoise SVN,which has Merge Utility embedded in it.

What is a transitive dependency? Can we override Transitive Dependency version and If Yes, how?

Transitive dependency is the dependencies not defined directly in the current POM but the POM of the dependent projects.

Yes, we can override transitive dependency version by specifying the dependency in the current POM.

What is the purpose of continuous integration for a development team?

The primary purpose of CI is to provide regular, fast feedback to developers as they commit changes to the shared code repository (VCS).

The idea being that we’re always integrating our code on commit, so that when conflicts arise, they can be addressed more quickly and easily than if the changes had been made days, week, or even months ago.

What are the benefits of transitive dependency in Maven?

Transitive dependencies allow to avoid specifying the libraries that are required by the project which are specified in other dependent projects - Remote or Local.

What is a cyclic dependency?

A has dependency of B, B has dependency of C and C has dependency of A, architecture, technical lead

With Maven 2, came transitive dependency wherein in above scenario, C will acts as a dependency of A as if this dependency has been defined directly in A but the negative side is that if it leads to cyclic dependency, it creates problems.

What technologies have you worked with for build management?

Ant and Maven

Have you created any build script yourself?

Yes, I have worked on many build scripts in last few years.

Difference between jar, war and ear?

  • Jar is Java Archieve i.e compressed Class or Class / Java files.
  • War comprises of compressed Servlet class files, JSP FIles, supporting files, GIF and HTML files.
  • Ear comprise of compressed Java and web module files (was files).

Which version control system you are using in your current project?

We are using SVN and Git Hub.

What is Repository?

Repository is the heart of any version control system. It is central place where developers store all their work. Repository not only stores files but also history. Repository is accessed over a network, with repository acting as a sever and version control tool acting as a client. Client can connect to repository, and then they can store/retrieve their changes to/from repository.

What is Jenkins?

It is a continuous integration tool written in Java.

What is the difference between Maven, Ant and Jenkins?

Maven and Ant Are Build Technologies whereas Jenkins is a continuous integration tool.

Which SCM tools Jenkins supports?

AccuRev, CVS, Subversion, Git, Mercurial, Perforce, Clear case and RTC

What are the various ways in which build can be scheduled in Jenkins?

  • Builds can be triggered by source code management commits.
  • Can be triggered after completion of other builds.
  • Can be scheduled to run at specified time (crons)
  • Manual Build Requests

How is attenuation happens from Jenkins to remote server? 

we have already like password less log in enable, so from Jenkins server any one login to the remote the Linux server and all without asking the password the key exchange is already done.

You liked the article?

Like: 0

Vote for difficulty

Current difficulty (Avg): Medium

EasyMediumHardDifficultExpert
IMPROVE ARTICLEReport Issue

About Author

Authorlogo
Name
TekSlate
Author Bio

TekSlate is the best online training provider in delivering world-class IT skills to individuals and corporates from all parts of the globe. We are proven experts in accumulating every need of an IT skills upgrade aspirant and have delivered excellent services. We aim to bring you all the essentials to learn and master new technologies in the market with our articles, blogs, and videos. Build your career success with us, enhancing most in-demand skills in the market.

Stay Updated
Get stories of change makers and innovators from the startup ecosystem in your inbox